package com.xmy.cultivate.service;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.xmy.cultivate.entity.Role;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author baomidou
 * @since 2022-08-07
 */
public interface IRoleService extends IService<Role> {

    public abstract boolean saveTo(Role role);

    public abstract List<Role> allRole(Wrapper wrapper);
}
